﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace PropertyManagementSystemAPI.Models {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "identity_permissions", DisableSyncStructure = true)]
	public partial class IdentityPermissions {

		/// <summary>
		/// 身份权限编号，主键，自增
		/// </summary>
		[JsonProperty, Column(DbType = "int", IsPrimary = true, IsIdentity = true)]
		public int PId { get; set; }

		/// <summary>
		/// 身份编号
		/// </summary>
		[JsonProperty, Column(Name = "P_IId", DbType = "int")]
		public int? PIId { get; set; }

		/// <summary>
		/// 菜单菜单编号
		/// </summary>
		[JsonProperty, Column(Name = "P_MId", DbType = "int")]
		public int? PMId { get; set; }

	}

}
